<table id="dynamic-table"
       class="table table-striped table-bordered table-hover dataTable no-footer"
       role="grid" aria-describedby="dynamic-table_info">
    <thead>
    <tr>
        <th>产品ID</th>
        <th>产品名称</th>
        <th>景点名称</th>
        <th>城市名称</th>
        <th>业务编码</th>
        <th>更新时间</th>
        <th>插入时间</th>
        <th>XC名称</th>
        <th>XCUrl</th>
        <th>TC名称</th>
        <th>TCUrl</th>
        <th>TN名称</th>
        <th>TNUrl</th>
        <th>QNR名称</th>
        <th>QNRUrl</th>
        <th>MT名称</th> <!--新增美团 -->
        <th>MTUrl</th>
        <th>EL名称</th>
        <th>ELUrl</th>
        <th>操作</th>
    </tr>
    </thead>
    <tbody>
    <#if prodList?? && prodList?size&gt;0>
        <#list  prodList as prod>
            <tr class="">
                <td class="tdproductId">${prod.productId!}</td>
                <td class="tdProductName">${prod.productName!}</td>
                <td class="tdActualName">${prod.actualName!}</td>
                <td class="${prod.cityCode!}">${prod.cityName!}</td>
                <td class="tdBusinessCode"><#if prod.businessCode??&&prod.businessCode=='TICKET'>门票<#elseif prod.businessCode??&&prod.businessCode=='HOTEL'>酒店</#if></td>
                <td class="tdUpdateTime">${prod.updateTime?string('yyyy-MM-dd')}</td>
                <td class="tdInsertTime">${prod.insertTime?string('yyyy-MM-dd')}</td>
                <td class="tdXCName">${prod.xc_name!}</td>
                <td class="tdXCUrl"><#if prod.xc_url??&&prod.xc_url?length&gt;5>${prod.xc_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.xc_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.xc_url??>${prod.xc_url}</#if></td>
                <td class="tdTCName">${prod.tc_name!}</td>
                <td class="tdTCUrl"><#if prod.tc_url??&&prod.tc_url?length&gt;5>${prod.tc_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.tc_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.tc_url??>${prod.tc_url}</#if></td>
                <td class="tdTNName">${prod.tn_name!}</td>
                <td class="tdTNUrl"><#if prod.tn_url??&&prod.tn_url?length&gt;5>${prod.tn_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.tn_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.tn_url??>${prod.tn_url}</#if></td>
                <td class="tdQNRName">${prod.qnr_name!}</td>
                <td class="tdQNRUrl"><#if prod.qnr_url??&&prod.qnr_url?length&gt;5>${prod.qnr_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.qnr_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.qnr_url??>${prod.qnr_url}</#if></td>
                <!--新增美团 -->
                <td class="tdMTName">${prod.mt_name!}</td>
                <td class="tdMTUrl"><#if prod.mt_url??&&prod.mt_url?length&gt;5>${prod.mt_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.mt_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.mt_url??>${prod.mt_url}</#if></td>
                <td class="tdYLName">${prod.yl_name!}</td>
                <td class="tdYLUrl"><#if prod.yl_url??&&prod.yl_url?length&gt;5>${prod.yl_url?substring(0,5)}...<a onclick="showDetailUrl(this);" class="${prod.yl_url}"><i class="ace-icon fa fa-eye"></i></a><#elseif prod.yl_url??>${prod.yl_url}</#if></td>
                <td>
                    <a class="green" onclick="updateCareProduct(this);" role="button" data-toggle="modal" data-target="#myModal01">
                        <i class="ace-icon fa fa-pencil bigger-130"></i>
                    </a>
                    <a class="red" onclick="deleteCareProduct(this);" role="button">
                        <i class="ace-icon fa fa-trash-o bigger-130"></i>
                    </a>
                </td>
            </tr>
        </#list>

    </#if>
    </tbody>
</table>